import request from '@/utils/request'

// 查询任务列表
export function listTask(query) {
  return request({
    url: '/evaluate/list',
    method: 'get',
    params: query
  })
}

// 查询任务详细
export function getTask(taskId) {
  return request({
    url: '/evaluate/' + taskId,
    method: 'get'
  })
}

// 删除任务
export function delTask(taskId) {
  return request({
    url: '/evaluate/' + taskId,
    method: 'delete'
  })
}